package org.redis.cluster.admin.client.model;

import java.util.Collection;

import org.redis.cluster.config.ClientConfig;
import org.redis.cluster.config.ClientInfo;

public class RoutingClientConfig {

	private String id;
	private String client;
	private String host;
	private Integer port;
	private Integer connection;
	private Integer timeout;
	private ClientInfo info;
	private Collection<ClientConfig> routings;
	
	public void setInfo(ClientInfo info) {
		this.info = info;
	}
	public ClientInfo getInfo() {
		return info;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getClient() {
		return client;
	}
	public void setClient(String client) {
		this.client = client;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	public Integer getConnection() {
		return connection;
	}
	public void setConnection(Integer connection) {
		this.connection = connection;
	}
	public Integer getTimeout() {
		return timeout;
	}
	public void setTimeout(Integer timeout) {
		this.timeout = timeout;
	}
	public Collection<ClientConfig> getRoutings() {
		return routings;
	}
	public void setRoutings(Collection<ClientConfig> routings) {
		this.routings = routings;
	}
}